dvb_dev_dmx_set_section_filter

@brief Sets a MPEG-TS section filter @ingroup dvb_device

@param open_dev Points to the struct dvb_open_descriptor @param pid Program ID to filter. Use 0x2000 to select all PIDs @param filtsize Size of the filter (up to 18 btyes) @param filter data to filter. Can be NULL or should have filtsize length @param mask filter mask. Can be NULL or should have filtsize length @param mode mode mask. Can be NULL or should have filtsize length @param flags flags for set filter (DMX_CHECK_CRC,DMX_ONESHOT, DMX_IMMEDIATE_START).

This is a wrapper function for DMX_SET_FILTER ioctl.

See http://linuxtv.org/downloads/v4l-dvb-apis/dvb_demux.html for more details.

@return Retuns zero on success, -1 otherwise.

@note valid only for DVB_DEVICE_DEMUX.

extern (C)
int
dvb_dev_dmx_set_section_filter
(,
int pid
,,
ubyte* filter
,
ubyte* mask
,
ubyte* mode
,
uint flags
)

Meta